package de.piratech.dasding.data.database;

import java.util.List;

import de.piratech.dasding.data.Location;

public interface LocationData {

  Location createLocation(Location location) throws DatabaseException;

  void deleteLocation(Location location) throws DatabaseException;

  void updateLocation(Location location) throws DatabaseException;

  Location getLocation(String locationId) throws DatabaseException;

  List<Location> getLocations() throws DatabaseException;

}
